<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/6/29
 * Time: 10:08
 */
//signcheck(array($uid,$imei,$pt,$ver));
$table = 'tttj.shops';
$sql = "select shop_name,shop_pic,id,shop_pic_ad from $table ORDER BY id desc";
$row = exec_db($sql);
while($val = mysqli_fetch_assoc($row)){
    $list[] = $val;
}
$tpl->assign('list',$list);
$tpl->display("{$tp}.html");
?>